package com.yinhai.message.search.vo;

import java.util.Date;

import com.yinhai.core.common.ta3.vo.BaseVo;

/**
 * 
 * @author yanglq
 * 2017.4.10
 */
public class MessageInfoVo extends BaseVo{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String mgid;
	private String userid;
	private Date mgdate;
	private String title;
	private String content;
	private String read;
	
	private String suserid;
	private String sname;  //发送人名称
	private String mgdateShow; //页面显示时间
	
	private String selfType;    //自定义通知类型
	private String otherData1;  //保留字段1
	private String otherData2;	//保留字段2
	private String otherData3;	//保留字段3
	    
	private Long mgid_app;
	public MessageInfoVo(String mgid, String suserid, String sname, Date mgdate,
			String title, String content, String read, 
			String selftype, String otherData1, String otherData2, String otherData3) {
		super();
		this.mgid = mgid;
		this.suserid = suserid;
		this.sname = sname;
		this.mgdate = mgdate;
		this.title = title;
		this.content = content;
		this.read = read;
		this.mgdateShow = mgdate.toString();
		this.selfType = selftype;
		this.otherData1 = otherData1;
		this.otherData2 = otherData2;
		this.otherData3 = otherData3;
	}
	
	public MessageInfoVo(Long mgid_app, String userid, Date mgdate, String title,
			String content) {
		super();
		this.mgid_app = mgid_app;
		this.userid = userid;
		this.mgdate = mgdate;
		this.title = title;
		this.content = content;
		this.mgdateShow = mgdate.toString();
	}

	public String getMgid() {
		return mgid;
	}
	public void setMgid(String mgid) {
		this.mgid = mgid;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public Date getMgdate() {
		return mgdate;
	}
	public void setMgdate(Date mgdate) {
		this.mgdate = mgdate;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getRead() {
		return read;
	}
	public void setRead(String read) {
		this.read = read;
	}

	public String getMgdateShow() {
		return mgdateShow;
	}
	public void setMgdateShow(String mgdateShow) {
		this.mgdateShow = mgdateShow;
	}
	public String getSelfType() {
		return selfType;
	}
	public void setSelfType(String selfType) {
		this.selfType = selfType;
	}
	public String getOtherData1() {
		return otherData1;
	}
	public void setOtherData1(String otherData1) {
		this.otherData1 = otherData1;
	}
	public String getOtherData2() {
		return otherData2;
	}
	public void setOtherData2(String otherData2) {
		this.otherData2 = otherData2;
	}
	public String getOtherData3() {
		return otherData3;
	}
	public void setOtherData3(String otherData3) {
		this.otherData3 = otherData3;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getSuserid() {
		return suserid;
	}
	public void setSuserid(String suserid) {
		this.suserid = suserid;
	}
	public Long getMgid_app() {
		return mgid_app;
	}

	public void setMgid_app(Long mgid_app) {
		this.mgid_app = mgid_app;
	}
	
}
